Incorrect syntax near 'Country'.
SELECT tx_outgoingDomain FROM d_domain301Redirects WHERE yn_activated = 1 AND Replace(Replace(tx_incomingDomain,'http://',''),'www.','') = 'careers.nfp-people.co.uk/Javascript:shortlistVac(5133,'Country Director – Scotland')'